package mn.idax.exchange.otc.service.impl;

import mn.idax.exchange.otc.domain.OrderChat;
import mn.idax.exchange.otc.repository.ChatRepository;
import mn.idax.exchange.otc.service.ChatLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: jack_huang
 * @Date: 2019/3/2 13:44
 */
@Service
public class ChatLogServiceImpl implements ChatLogService {

    private static final String ORDER_ID = "orderId", TIME = "sendTime";

    @Autowired
    private ChatRepository chatRepository;

    @Override
    public OrderChat insert(OrderChat chatLog) {
        return chatRepository.insert(chatLog);
    }


}

